package com.changgou.goods.dao;


import com.changgou.goods.pojo.Category;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface CategoryMapper extends Mapper<Category> {

    @Select("SELECT id FROM tb_category WHERE name=#{categoryName}")
    Integer findIdBycategoryName(String categoryName);
}
